package com.example.mybatis.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 商店详细对象 shop_ext
 * 
 * @author ruoyi
 * @date 2020-06-18
 */
public class ShopExt implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 详细地址 */
    private String address;

    /** 省 */
    private String province;

    /** 市 */
    private String city;

    /** 县 */
    private String county;

    /** 区 */
    private String district;

    /** 镇 */
    private String town;

    /** 旗 */
    private String qi;

    /** 族 */
    private String zu;

    /** 盟 */
    private String meng;

    /** 路段 */
    private String road;

    /** 地址 */
    private String addr;

    /** 店类型 */
    private String shopType;

    /** 店名 */
    private String shopName;

    /** 经纬度 */
    private String location;

    /** 行政区划编码 */
    private String adcode;

    /** 处理状态 0-初始 1-已处理 */
//    @Excel(name = "处理状态 0-初始 1-已处理")
    private String status;

    /** 参考信息 */
    private String reference;

    /** 页数 */
    private Long page;

    /** 链接 */
    private String link;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//	@Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date createTime;
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//	@Excel(name = "更新时间", dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date updateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setTown(String town) 
    {
        this.town = town;
    }

    public String getTown() 
    {
        return town;
    }
    public void setQi(String qi) 
    {
        this.qi = qi;
    }

    public String getQi() 
    {
        return qi;
    }
    public void setZu(String zu) 
    {
        this.zu = zu;
    }

    public String getZu() 
    {
        return zu;
    }
    public void setMeng(String meng) 
    {
        this.meng = meng;
    }

    public String getMeng() 
    {
        return meng;
    }
    public void setRoad(String road) 
    {
        this.road = road;
    }

    public String getRoad() 
    {
        return road;
    }
    public void setAddr(String addr)
    {
        this.addr = addr;
    }

    public String getAddr()
    {
        return addr;
    }
    public void setShopType(String shopType) 
    {
        this.shopType = shopType;
    }

    public String getShopType() 
    {
        return shopType;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setAdcode(String adcode) 
    {
        this.adcode = adcode;
    }

    public String getAdcode() 
    {
        return adcode;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setReference(String reference) 
    {
        this.reference = reference;
    }

    public String getReference() 
    {
        return reference;
    }
    public void setPage(Long page) 
    {
        this.page = page;
    }

    public Long getPage() 
    {
        return page;
    }
    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("address", getAddress())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("district", getDistrict())
            .append("town", getTown())
            .append("qi", getQi())
            .append("zu", getZu())
            .append("meng", getMeng())
            .append("road", getRoad())
            .append("addr", getAddr())
            .append("shopType", getShopType())
            .append("shopName", getShopName())
            .append("location", getLocation())
            .append("adcode", getAdcode())
            .append("status", getStatus())
            .append("reference", getReference())
            .append("page", getPage())
            .append("link", getLink())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
